package cn.net.msg.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import cn.net.msg.dao.TbAnnounceDao;
import cn.net.msg.model.TbAnnounce;
import cn.net.msg.service.base.DaoSupport;
import cn.net.msg.service.base.Order;

@Component("tbAnnounceDao")
public class TbAnnounceDaoImpl extends DaoSupport implements TbAnnounceDao {

    @Override
    public List<TbAnnounce> getAnnounceForList(int firstIndex, int maxResult,
            Order order, String propertyName) {
        // TODO Auto-generated method stub
        return super.paging(TbAnnounce.class, firstIndex, maxResult, null, order, propertyName);
    }
}
